Skip to content

Added GroupBy transformation KDocs - #1936

Open
AndreiKingsley wants to merge 4 commits into
masterfrom
transformations_kdocs
Open

Added GroupBy transformation KDocs#1936
AndreiKingsley wants to merge 4 commits into
masterfrom
transformations_kdocs

Conversation

@AndreiKingsley

@AndreiKingsley AndreiKingsley commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Closes #1526 + KDocs for DataFrame.sort..() methods + renamed .desc() to .reversed()

@Jolanrensen

Copy link
Copy Markdown
Collaborator

please update the description to include the .reversed() function :)

* This is an entity formed by calling any (combination) of the functions
* in the DSL that is or can be resolved into a single column.
*
* Column Selection DSL allows using [Extension Properties][AccessApis.ExtensionPropertiesApi]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*The Columns Selection DSL

Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt Outdated
Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt
private typealias SortDslSnippet = Nothing

/**
* A specialized [ColumnsSelectionDsl] for selecting columns to sort rows by

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use {@include [ColumnsSelectionDslLink]}

Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt
Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt Outdated
Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt Outdated
Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt
Comment thread core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/sort.kt Outdated
@AndreiKingsley

Copy link
Copy Markdown
Collaborator Author

@Jolanrensen updated nullsLast description

* or before non-null values when sorting in descending order by these columns.
*
* By default, `null` values are considered the smallest values when sorting.
* Use this method to treat them as the largest values.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear! Thanks :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add groupBy and pivot transformations KDocs

2 participants